package com.hh.goodsmanage.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hh.baseframework.util.Check;
import com.hh.baseframework.util.Convert;
import com.hh.goodsmanage.bean.GoodsmanageOutBuyers;
import com.hh.system.service.impl.BaseService;

@Service
public class GoodsmanageOutBuyService extends BaseService<GoodsmanageOutBuyers> {

	@Autowired
	private GoodsmanageOutService goodsmanageOutService;

	@Override
	public void deleteByIds(String ids) {
		super.deleteByIds(ids);
		if (!Check.isEmpty(ids)) {
			goodsmanageOutService.deleteByProperty("outBuyersId",
					Convert.strToList(ids));
		}
	}

}